Skip to content

clean up free-font-lock-settings #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2023

Conversation

piotrkwiecinski
Copy link
Contributor

  • actually make highlighting operators work
  • bracket highlighing
  • remove features we don't currently have
  • remove broken interpolation

I applied bright color for operators/brackets just for debugging.

Note: we'll have to work on nullable type and probably union type due to ? and | being marked as operators at the moment.

phptsoperators

- actually make highlighting operators work
- bracket highlighing
- remove features we don't currently have
- remove broken interpolation
:language 'php
:feature 'operator
`([,@php-ts-mode--operators] @font-lock-operator-face)

:language 'php
:feature 'string
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: this was a duplicate

(constant keyword string type variables)
(annotation expression literal function)
(bracket delimiter operator)))
(keyword string type variables)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should think about value levels. I suggest we do it as a follow up when we stabilise types that we want to use. I put it in a checklist in #8

@zonuexe zonuexe merged commit 3e59322 into emacs-php:master May 22, 2023
@zonuexe
Copy link
Member

zonuexe commented May 22, 2023

Thank you!

@piotrkwiecinski piotrkwiecinski deleted the font-lock-list branch May 25, 2023 08:51
@piotrkwiecinski piotrkwiecinski restored the font-lock-list branch May 25, 2023 08:51
@piotrkwiecinski piotrkwiecinski deleted the font-lock-list branch May 25, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants